package java_design_model.com.observer.abc;

public class m {
    public static void main(String[] args) {
        CCC c=new CCC();
        c.addA(new AA());
        c.addA(new BB());

        c.addstatus();
        c.addstatus();
        c.addstatus();

    }
}
